import request from '@/utils/request'

// 发送验证码
export const sendSms = phone => {
  return request({
    url: `/edusms/sms/send/${phone}`
  })
}

// 注册
export const register = data => {
  return request({
    url: '/educenter/member/register',
    method: 'POST',
    data
  })
}
